package com.example.yqand4v1_1.dto;

import lombok.Data;

import java.time.LocalDate;

@Data
public class NewsSearchDTO {
    // 封装查找排序筛选数据进行传输
    // 查找
    private String titleLike;
    // addTime / clickNum / likeNum / commentsNum
    private String sort;
    // asc / desc
    private String sortDir;
    private LocalDate startDate;
    private LocalDate endDate;
}
